/**
 * 
 */
package com.evon.yardmanagement.ui.dto;

import org.dozer.Mapping;

/**
 * @author Sandeep
 *
 */
public class SectionDTO {
	
	@Mapping("id")
	private Integer sectionId;
	@Mapping("name")
	private String sectionName;
	@Mapping("isPermanent")
	private boolean permanent;
	@Mapping("isActive")
	private boolean active;
	private Integer capacity;
	
	@Mapping("yard")
	public YardDTO yardDTO;
	
	
	
    public boolean isActive() {
		return active;
	}
	public void setActive(boolean active) {
		this.active = active;
	}
	public Integer getCapacity() {
		return capacity;
	}
	public void setCapacity(Integer capacity) {
		this.capacity = capacity;
	}
	public Integer getYardId() {
		return yardDTO.getId();
	}
	public String getYardName() {
		return yardDTO.getName();
	}
	public YardDTO getYardDTO() {
		return yardDTO;
	}
	public void setYardDTO(YardDTO yardDTO) {
		this.yardDTO = yardDTO;
	}
	public Integer getSectionId() {
		return sectionId;
	}
	public void setSectionId(Integer sectionId) {
		this.sectionId = sectionId;
	}
	public String getSectionName() {
		return sectionName;
	}
	public void setSectionName(String sectionName) {
		this.sectionName = sectionName;
	}
	public boolean getPermanent() {
		return permanent;
	}
	public void setPermanent(boolean permanent) {
		this.permanent = permanent;
	}
	
	

}
